import axios from "axios"


//Get请求
export const getUrl = (url, data) => {
  return axios.get(url, { params: data })
}

//POST 请求
export const postUrl = (url, data) => {
  return axios.post(url, { ...data })
}